import type { categoryItem } from '@/types/category'
import { http } from '@/utils/http'

export const getCateGoryAPI = () => {
  return http<Array<categoryItem>>({
    url: '/category/top',
    method: 'GET',
  })
}
